package com.zerosky.crm.po;

import java.io.Serializable;
import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

/**
 * Employee实体类 与实体表关联--employee_info
 * 
 * @author hugy;
 * @since 2017-06-08
 * 
 *        v1.1 2017-6-12 修改：添加注释 钟璟
 */
public class Employee implements Serializable {
	private static final long serialVersionUID = 1L;
	private String usersId;// 微信成员ID
	private String employeeId;// 员工ID
	private String userCard;
	private String password;// 登陆密码
	private String name;// 姓名
	private String sex;// 性别
	private String position;// 职务
	private Date serviceYear;// 工作年限
	private String idCard;// 身份证号码
	private String phoneNumber;// 手机号码
	private Date birthday;// 生日
	private String workConditions;// 在职情况
	private Date createDate;// 创建时间
	private String createPeople;// 创建人
	private String email;// 邮箱
	private String picture;// 照片
	private String address;// 地址
	private String quarters;// 岗位
	private String pcDeviceCode;// ios手机设备码
	private String mobileDeviceCode;// 安卓手机设备码
	private String panelComputerDeviceCode;// 安卓平板设备码
	private String iosPanelComputerDeviceCode;// ios平板设备码
	private String updateEmpId;// 修改人ID
	private Date updateDate;// 修改时间
	/**
	 * @name 状态 (1或者0 1代表记录无效 0代表记录有效)
	 */
	private String status;
	private Department dept;// 所在分公司（直属部门）
	private Branch branch;// 所在部门
	private Branch team;// 所在团队
	private Role role;// 所属角色,多个用户可以拥有一个角色
	private Integer rid;// 角色id 新增用
	private String deptId;// 部门id 新增用
	private String branchId;// 部门id 新增用
	private String teamId;// 团队id
	private Integer customerNumber; // 客户数量
	private Integer visitNumber; // 拜访次数
	private Integer followNumber; // 跟进次数

	

	public Integer getVisitNumber() {
		return visitNumber;
	}

	public void setVisitNumber(Integer visitNumber) {
		this.visitNumber = visitNumber;
	}

	public Integer getFollowNumber() {
		return followNumber;
	}

	public void setFollowNumber(Integer followNumber) {
		this.followNumber = followNumber;
	}

	public String getIosPanelComputerDeviceCode() {
		return iosPanelComputerDeviceCode;
	}

	public void setIosPanelComputerDeviceCode(String iosPanelComputerDeviceCode) {
		this.iosPanelComputerDeviceCode = iosPanelComputerDeviceCode;
	}

	public String getPcDeviceCode() {
		return pcDeviceCode;
	}

	public void setPcDeviceCode(String pcDeviceCode) {
		this.pcDeviceCode = pcDeviceCode;
	}

	public String getMobileDeviceCode() {
		return mobileDeviceCode;
	}

	public void setMobileDeviceCode(String mobileDeviceCode) {
		this.mobileDeviceCode = mobileDeviceCode;
	}

	public String getPanelComputerDeviceCode() {
		return panelComputerDeviceCode;
	}

	public void setPanelComputerDeviceCode(String panelComputerDeviceCode) {
		this.panelComputerDeviceCode = panelComputerDeviceCode;
	}

	public String getQuarters() {
		return quarters;
	}

	public void setQuarters(String quarters) {
		this.quarters = quarters;
	}

	public String getUsersId() {
		return usersId;
	}

	public void setUsersId(String usersId) {
		this.usersId = usersId;
	}

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	/* 文件上传所用 */
	private String fileName; // 不是数据库表里的数据 个人使用
	private MultipartFile hotelImgFile;

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {

		this.password = password;

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Date getServiceYear() {
		return serviceYear;
	}

	public void setServiceYear(Date serviceYear) {
		this.serviceYear = serviceYear;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getWorkConditions() {
		return workConditions;
	}

	public void setWorkConditions(String workConditions) {
		this.workConditions = workConditions;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreatePeople() {
		return createPeople;
	}

	public void setCreatePeople(String createPeople) {
		this.createPeople = createPeople;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public MultipartFile getHotelImgFile() {
		return hotelImgFile;
	}

	public void setHotelImgFile(MultipartFile hotelImgFile) {
		this.hotelImgFile = hotelImgFile;
	}

	public String getUserCard() {
		return userCard;
	}

	public void setUserCard(String userCard) {
		this.userCard = userCard;
	}

	public Integer getCustomerNumber() {
		return customerNumber;
	}

	public void setCustomerNumber(Integer customerNumber) {
		this.customerNumber = customerNumber;
	}

	public Branch getBranch() {
		return branch;
	}

	public void setBranch(Branch branch) {
		this.branch = branch;
	}

	public Branch getTeam() {
		return team;
	}

	public void setTeam(Branch team) {
		this.team = team;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getBranchId() {
		return branchId;
	}

	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}

	public String getTeamId() {
		return teamId;
	}

	public void setTeamId(String teamId) {
		this.teamId = teamId;
	}

	public String getUpdateEmpId() {
		return updateEmpId;
	}

	public void setUpdateEmpId(String updateEmpId) {
		this.updateEmpId = updateEmpId;
	}

	public java.util.Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(java.util.Date updateDate) {
		this.updateDate = updateDate;
	}

}